#pragma once
#include"C:\c++all.h"

typedef struct ST
{
	friend void my_cout(int x, int y, std::string a);

public:
	ST(int sub = 0)
	{
		year %= 365 * 24 * 3600;
		sub %= 365 * 24 * 3600;
		month %= 30 * 24 * 3600;
		sub%= 30 * 24 * 3600;
		day %= 24 * 3600;
		sub %= 24 * 3600;
		hour %= 3600;
		sub %= 3600;
		minor %= 60;
		sub %= 60;
		s = sub;
	}
	void printt()
	{
		my_cout(1, 1);

	}
private:
	int year;
	int day;
	int month;
	int hour;
	int minor;
	int s;
};


void my_cout(int x, int y, std::string a);
void my_cout(int x, int y);

int get_cur_time();